Psychological projections of horny human writers is how this plot forms. Humans in those days did not know any thing about DNA, brain functions, hormones, and what not,, so for them to project their own desires onto spirit beings that think and act like humans would be appropriate due to the state of common human understanding at the time and forget about all that holy spirit malarkey writing in an ancient book for a future generation thousands of years future.
The writing reflects where the human imagination was at the time and not 100% factual.
Just like the American song God Bless America reflects the times that these political documents were first produced not 100% factual but give the sediments of the writer and what God or Deity he speaks of blessing his home country.